CREATE TABLE [dbo].[tb_RegistroHistoriaClinica]
(
[idExamen] [int] NOT NULL IDENTITY(1, 1),
[Item] [int] NOT NULL,
[SiONo] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Observaciones] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_RegistroHistoriaClinica] ADD CONSTRAINT [PK_tb_RegistroHistoriaClinica] PRIMARY KEY NONCLUSTERED  ([idExamen]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_RegistroHistoriaClinica] WITH NOCHECK ADD CONSTRAINT [FK_tb_RegistroHistoriaClinica_tb_ItemsDeHistoriaClinica] FOREIGN KEY ([Item]) REFERENCES [dbo].[tb_ItemsDeHistoriaClinica] ([idItemHistoriaClinica])
GO
